t1 = ('aa', 'bb', 'cc', 'bb')

# 1. 下标
# print(t1[0]) #aa
#
# # 2. index()
# print(t1.index('bb')) #1
# print(t1.index('bbb')) # ValueError: tuple.index(x): x not in tuple

# 3. count()
print(t1.count('aa')) #1
print(t1.count('aaa')) # 0

# 4. len()
print(len(t1)) # 4







